﻿using Red.Core;

namespace Red.Launcher.CustomVariables.Perforce
{
    public class ActiveWorkspace : IFilePathCustomVariable
    {
        public string Help { get { return "The currently active workspace"; } }

        public string Name { get { return "P4.Active.Workspace"; } }

        public string Value { get; set; }

        public ActiveWorkspace()
        {
            // There can be only one!
            // Overwrite the existing custom variable (if there is one), with this new one!
            FilePath.Register( this );
        }
    }
}
